package com.lxmes.device.domain;

import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 设备列表对象 device
 * 
 * @author ruoyi
 * @date 2022-04-13
 */

@ApiModel(value = "Device", description = "设备实体")
public class Device extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    private Long deviceId;

    /** 设备编码 */
    @Excel(name = "设备编码")
    @ApiModelProperty("设备编码")
    private String deviceCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    @ApiModelProperty("设备名称")
    private String deviceName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    @ApiModelProperty("规格型号")
    private String deviceModel;

    /** 设备类别 */
    @Excel(name = "设备类别")
    @ApiModelProperty("设备类别")
    private String deviceType;

    /** 设备标记 */
    @Excel(name = "设备标记")
    @ApiModelProperty("设备标记")
    private String deviceIsFlag;

    /** 购置时间 */
    @Excel(name = "购置时间")
    @ApiModelProperty("购置时间")
    private String purchaseTime;

    /** 资产负责人 */
    @Excel(name = "资产负责人")
    @ApiModelProperty("资产负责人")
    private String chargePerson;

    /** 使用寿命 */
    @Excel(name = "使用寿命")
    @ApiModelProperty("使用寿命")
    private String serviceLife;

    /** 生产厂商 */
    @Excel(name = "生产厂商")
    @ApiModelProperty("生产厂商")
    private String manufacturer;

    /** 供应商 */
    @Excel(name = "供应商")
    @ApiModelProperty("供应商")
    private String supplier;

    /** 使用部门 */
    @Excel(name = "使用部门")
    @ApiModelProperty("使用部门")
    private String useDept;

    /** 使用状况 */
    @Excel(name = "使用状况")
    @ApiModelProperty("使用状况")
    private String useStatus;

    /** 设备位置 */
    @Excel(name = "设备位置")
    @ApiModelProperty("设备位置")
    private String devicePosition;

    /** 操作人员 */
    @Excel(name = "操作人员")
    @ApiModelProperty("操作人员")
    private String operator;

    /** 维修班组 */
    @Excel(name = "维修班组")
    @ApiModelProperty("维修班组")
    private String wxDept;

    /** 固定资产编号 */
    @Excel(name = "固定资产编号")
    @ApiModelProperty("固定资产编号")
    private String fixedAssetsNo;

    /** 启用时间 */
    @Excel(name = "启用时间")
    @ApiModelProperty("启用时间")
    private String openingTime;


    /** 所属组织 */
    private Long deptId;
    private Long userId;
    /*组合查询条件*/
    private String queryParams;

    /** 设备图片地址 */
    @ApiModelProperty("设备图片")
    private String deviceImg;

    /** 设备二维码地址 */
    private String deviceEwm;

    /** 备用字段1 */
    private String spare1;

    /** 备用字段2 */
    private String spare2;

    /** 备用字段3 */
    private String spare3;

    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDeviceModel(String deviceModel) 
    {
        this.deviceModel = deviceModel;
    }

    public String getDeviceModel() 
    {
        return deviceModel;
    }
    public void setDeviceType(String deviceType) 
    {
        this.deviceType = deviceType;
    }

    public String getDeviceType() 
    {
        return deviceType;
    }
    public void setDeviceIsFlag(String deviceIsFlag) 
    {
        this.deviceIsFlag = deviceIsFlag;
    }

    public String getDeviceIsFlag() 
    {
        return deviceIsFlag;
    }
    public void setPurchaseTime(String purchaseTime) 
    {
        this.purchaseTime = purchaseTime;
    }

    public String getPurchaseTime() 
    {
        return purchaseTime;
    }
    public void setChargePerson(String chargePerson) 
    {
        this.chargePerson = chargePerson;
    }

    public String getChargePerson() 
    {
        return chargePerson;
    }
    public void setServiceLife(String serviceLife) 
    {
        this.serviceLife = serviceLife;
    }

    public String getServiceLife() 
    {
        return serviceLife;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setUseDept(String useDept) 
    {
        this.useDept = useDept;
    }

    public String getUseDept() 
    {
        return useDept;
    }
    public void setUseStatus(String useStatus) 
    {
        this.useStatus = useStatus;
    }

    public String getUseStatus() 
    {
        return useStatus;
    }
    public void setDevicePosition(String devicePosition) 
    {
        this.devicePosition = devicePosition;
    }

    public String getDevicePosition() 
    {
        return devicePosition;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setWxDept(String wxDept) 
    {
        this.wxDept = wxDept;
    }

    public String getWxDept() 
    {
        return wxDept;
    }
    public void setFixedAssetsNo(String fixedAssetsNo) 
    {
        this.fixedAssetsNo = fixedAssetsNo;
    }

    public String getFixedAssetsNo() 
    {
        return fixedAssetsNo;
    }
    public void setOpeningTime(String openingTime) 
    {
        this.openingTime = openingTime;
    }

    public String getOpeningTime() 
    {
        return openingTime;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeviceImg(String deviceImg) 
    {
        this.deviceImg = deviceImg;
    }

    public String getDeviceImg() 
    {
        return deviceImg;
    }
    public void setDeviceEwm(String deviceEwm) 
    {
        this.deviceEwm = deviceEwm;
    }

    public String getDeviceEwm() 
    {
        return deviceEwm;
    }
    public void setSpare1(String spare1) 
    {
        this.spare1 = spare1;
    }

    public String getSpare1() 
    {
        return spare1;
    }
    public void setSpare2(String spare2) 
    {
        this.spare2 = spare2;
    }

    public String getSpare2() 
    {
        return spare2;
    }
    public void setSpare3(String spare3) 
    {
        this.spare3 = spare3;
    }

    public String getSpare3() 
    {
        return spare3;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getQueryParams() {
        return queryParams;
    }

    public void setQueryParams(String queryParams) {
        this.queryParams = queryParams;
    }

    public Device() {
    }

    public Device(Long deviceId, String deviceCode, String deviceName, String deviceModel, String deviceType, String deviceIsFlag, String purchaseTime, String chargePerson, String serviceLife, String manufacturer, String supplier, String useDept, String useStatus, String devicePosition, String operator, String wxDept, String fixedAssetsNo, String openingTime, Long deptId, String deviceImg, String deviceEwm, String spare1, String spare2, String spare3) {
        this.deviceId = deviceId;
        this.deviceCode = deviceCode;
        this.deviceName = deviceName;
        this.deviceModel = deviceModel;
        this.deviceType = deviceType;
        this.deviceIsFlag = deviceIsFlag;
        this.purchaseTime = purchaseTime;
        this.chargePerson = chargePerson;
        this.serviceLife = serviceLife;
        this.manufacturer = manufacturer;
        this.supplier = supplier;
        this.useDept = useDept;
        this.useStatus = useStatus;
        this.devicePosition = devicePosition;
        this.operator = operator;
        this.wxDept = wxDept;
        this.fixedAssetsNo = fixedAssetsNo;
        this.openingTime = openingTime;
        this.deptId = deptId;
        this.deviceImg = deviceImg;
        this.deviceEwm = deviceEwm;
        this.spare1 = spare1;
        this.spare2 = spare2;
        this.spare3 = spare3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceId", getDeviceId())
            .append("deviceCode", getDeviceCode())
            .append("deviceName", getDeviceName())
            .append("deviceModel", getDeviceModel())
            .append("deviceType", getDeviceType())
            .append("deviceIsFlag", getDeviceIsFlag())
            .append("purchaseTime", getPurchaseTime())
            .append("chargePerson", getChargePerson())
            .append("serviceLife", getServiceLife())
            .append("manufacturer", getManufacturer())
            .append("supplier", getSupplier())
            .append("useDept", getUseDept())
            .append("useStatus", getUseStatus())
            .append("devicePosition", getDevicePosition())
            .append("operator", getOperator())
            .append("wxDept", getWxDept())
            .append("fixedAssetsNo", getFixedAssetsNo())
            .append("openingTime", getOpeningTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("deptId", getDeptId())
            .append("deviceImg", getDeviceImg())
            .append("deviceEwm", getDeviceEwm())
            .append("spare1", getSpare1())
            .append("spare2", getSpare2())
            .append("spare3", getSpare3())
            .toString();
    }
}
